#include "enemy.h"

enemy::enemy()
{
    //初始化敌人的图片
    enemy_frightened=new QMovie (":/picture/Ghost_frightened.gif");
    enemy1_down=new QMovie (":/picture/Ghost1_down.gif");
    enemy1_left=new QMovie (":/picture/Ghost1_left.gif");
    enemy1_right=new QMovie (":/picture/Ghost1_right.gif");
    enemy1_up=new QMovie (":/picture/Ghost1_up.gif");
    enemy2_down=new QMovie (":/picture/Ghost2_down.gif");
    enemy2_left=new QMovie (":/picture/Ghost2_left.gif");
    enemy2_right=new QMovie (":/picture/Ghost2_right.gif");
    enemy2_up=new QMovie (":/picture/Ghost2_up.gif");
    enemy3_down=new QMovie (":/picture/Ghost3_down.gif");
    enemy3_left=new QMovie (":/picture/Ghost3_left.gif");
    enemy3_right=new QMovie (":/picture/Ghost3_right.gif");
    enemy3_up=new QMovie (":/picture/Ghost3_up.gif");
}
